namespace :bilibiliranking do
  desc "bilibili ranking example over"
  task :over => :environment do
    require 'lib/tasks/vegas_video_maker.rb'
    require 'lib/tasks/bili_ranking_maker.rb'
    include VegasVideoMaker
    BRM.create({:path => "#{BILI_PRO_PATH}#{ENV['pa']}\\"}) do |vvm|
      vvm.play_bgm("bilibili.mp3") do
        vvm.pics "over", 1..2, :length => 5, 1=> {:length => 3}
      end
    end
  end
end